package com.photonpay.api.request;

import cn.hutool.http.Method;
import com.photonpay.api.response.GetCvvResponse;
import lombok.Builder;
import lombok.Data;

/**
 * 卡cvv
 * @author ：lo-
 * @date ：Created in 2023/11/22 14:40
 */
@Data
@Builder
public class GetCvvRequest extends BaseRequest<GetCvvResponse> {

    /**
     * 卡ID
     */
    private String cardId;

    @Override
    public Class<GetCvvResponse> getResponseClass() {
        return GetCvvResponse.class;
    }

    @Override
    public String getBasePath() {
        return "/vcc/open/v2/getCvv";
    }

    @Override
    public Method getMethod() {
        return Method.GET;
    }

    @Override
    public boolean isSign() {
        return false;
    }
}
